<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>KCMS</title>
<jsp:include page="../iframecommon.jsp"/>
    
</head>
<body>




<div class="col-lg-2"></div>
<div class="col-lg-8">
<div class="main-box">
<header class="main-box-header clearfix">
<h1>作业详情</h1>
</header>
<div class="alert alert-success">
<i class="fa fa-check-circle fa-fw fa-lg"></i>
请查看作业详请，并在规定时限内上传文件，超过时间将不可以上传文件
</div>



<form action="assignment_submitAssign" method="post" enctype="multipart/form-data">

<input type="hidden" name="aid" value="<s:property value="ass.assignmentid"/>"/>
<div class="alert alert-success">
<i class="fa fa-check-circle fa-fw fa-lg"></i>
作业详请如下：<br>
作业名称：<s:property value="ass.assignmentname" /><br>
作业所属课程号：<s:property value="ass.cid" /><br>
课程所属班级号：<s:property value="ass.csn" /><br>
作业内容描述：<s:property value="ass.description" /><br>
作业过期时间：<s:property value="ass.duetime" />
</div>




<s:if test="submitflag==false">
<div class="alert alert-warning">
<i class="fa fa-warning fa-fw fa-lg"></i>
请注意：您尚未提交过本次作业，请注意时限，尽快提交
</div>
</s:if>
<s:else>
<div class="alert alert-warning">
<i class="fa fa-warning fa-fw fa-lg"></i>
请注意：您已经提交过本次作业，请注意再次提交将覆盖本次提交
</div>
</s:else>

<s:if test="timeflag==true">
<div class="alert alert-info">
<i class="fa fa-check-circle fa-fw fa-lg"></i>
请在下框中上传作业<br>
<input class="form-control" type="file" name="doc"/>
<br>
<input class="btn btn-success" type="submit"/>
</div>
</s:if>
<s:else>
<div class="alert alert-warning">
<i class="fa fa-check-circle fa-fw fa-lg"></i>
您的作业提交时限已到，无法提交作业
</div>
</s:else>



</form>
</body>
</html> 